<?php

namespace Gql\Errors;
use GraphQL\Error\ClientAware;

class SafeException extends \Exception  implements ClientAware{


    public function isClientSafe()
    {
        return true;
    }

    /**
     * Returns string describing a category of the error.
     *
     * Value "graphql" is reserved for errors produced by query parsing or validation, do not use it.
     *
     * @return string
     *
     * @api
     */
    public function getCategory()
    {
        return 'message';
    }
}